<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">

<title>NEWS-1.9.3 - RDoc Documentation</title>


<script src="../js/navigation.js" defer></script>
<script src="../js/search.js" defer></script>
<script src="../js/search_index.js" defer></script>
<script src="../js/searcher.js" defer></script>
<script src="../js/darkfish.js" defer></script>

<script src="../js/jquery-3.2.0.min.js"></script>

<script src="../js/vue.min.js"></script>
<script src="../js/js.cookie.min.js"></script>

<link href="../css/fonts.css" rel="stylesheet">
<link id='rdoccss' href="../css/rdoc.css" rel="stylesheet">
<link href="../css/carbon17.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "../";
  var index_rel_prefix = "../";
  var darkModeCsseHref = "../css/rdoc-dm.css"
  var defaultModeCssHref = "../css/rdoc.css"
  // var cssDarkmode = Cookies.get('darkmode');
  
  if( Cookies.get("darkmode") == "true") {
	$('#rdoccss').attr("href", darkModeCsseHref);
}

//  https://cssdeck.com/blog/simple-jquery-stylesheet-switcher/

document.write('<style type="text/css">body{display:none}</style>');

</script>


</head>
<body id="top" role="document" class="file">
  <!-- this is page.html -->
  <div id='actionbar' >
    <div class='wrapper mdiv'>
      <ul class='grids g0'></ul>
    </div> 
    <!-- VERSION HEADER for 3.3.0-preview2 NOT FOUND -->
  </div> <!-- end action bar -->


 <div class='wrapper hdiv'>

 


<nav id='vapp' role="navigation">
  <div id="project-navigation">
    <div id="home-section" role="region" title="Quick navigation" class="nav-section">
  <h2><a href="../index.html" rel="home">Home</a></h2>

  <div id="table-of-contents-navigation"  >
    <a href="../table_of_contents.html#pages">Pages</a>
    <a href="../table_of_contents.html#classes">Classes</a>
    <a href="../table_of_contents.html#methods">Methods</a>
  </div>
</div>

    <div id="search-section" role="search" class="project-section initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <div id="search-field-wrapper">
      <input id="search-field" role="combobox" aria-label="Search"
             aria-autocomplete="list" aria-controls="search-results"
             type="text" name="search" placeholder="Search" spellcheck="false"
             title="Type to search, Up and Down to navigate, Enter to load">
    </div>

    <ul id="search-results" aria-label="Search Results"
        aria-busy="false" aria-expanded="false"
        aria-atomic="false" class="initially-hidden"></ul>
  </form>
</div>

  </div>

  
<div class="nav-section">
  <h3>Table of Contents</h3>

  <ul class="link-list" role="directory">
    <li><a href="#label-NEWS+for+Ruby+1.9.3">NEWS for Ruby 1.9.3</a>
    <li><a href="#label-Changes+since+the+1.9.2+release">Changes since the 1.9.2 release</a>
    <li><a href="#label-License">License</a>
    <li><a href="#label-Known+platform+dependent+issues">Known platform dependent issues</a>
    <li><a href="#label-OS+X+Lion">OS X Lion</a>
    <li><a href="#label-C+API+updates">C API updates</a>
    <li><a href="#label-Library+updates+-28outstanding+ones+only-29">Library updates (outstanding ones only)</a>
    <li><a href="#label-Language+changes">Language changes</a>
    <li><a href="#label-Compatibility+issues+-28excluding+feature+bug+fixes-29">Compatibility issues (excluding feature bug fixes)</a>
  </ul>
</div>

  <button id='toggleThing' @click="toggleNav()" >Show/hide navigation</button>

  <div id="project-metadata">
   <div :class="isOpen ? 'block' : 'hidden' " id='toggleMe'>
    
<div id="fileindex-section" class="nav-section">
  <h3>Pages</h3>

  <ul class="link-list">
    <li><a href="../NEWS/NEWS-1_8_7.html">NEWS-1.8.7</a>
    <li><a href="../NEWS/NEWS-1_9_1.html">NEWS-1.9.1</a>
    <li><a href="../NEWS/NEWS-1_9_2.html">NEWS-1.9.2</a>
    <li><a href="../NEWS/NEWS-1_9_3.html">NEWS-1.9.3</a>
    <li><a href="../NEWS/NEWS-2_0_0.html">NEWS-2.0.0</a>
    <li><a href="../NEWS/NEWS-2_1_0.html">NEWS-2.1.0</a>
    <li><a href="../NEWS/NEWS-2_2_0.html">NEWS-2.2.0</a>
    <li><a href="../NEWS/NEWS-2_3_0.html">NEWS-2.3.0</a>
    <li><a href="../NEWS/NEWS-2_4_0.html">NEWS-2.4.0</a>
    <li><a href="../NEWS/NEWS-2_5_0.html">NEWS-2.5.0</a>
    <li><a href="../NEWS/NEWS-2_6_0.html">NEWS-2.6.0</a>
    <li><a href="../NEWS/NEWS-2_7_0.html">NEWS-2.7.0</a>
    <li><a href="../NEWS/NEWS-3_0_0_md.html">NEWS-3.0.0</a>
    <li><a href="../NEWS/NEWS-3_1_0_md.html">NEWS-3.1.0</a>
    <li><a href="../NEWS/NEWS-3_2_0_md.html">NEWS-3.2.0</a>
    <li><a href="../bsearch_rdoc.html">bsearch</a>
    <li><a href="../bug_triaging_rdoc.html">bug_triaging</a>
    <li><a href="../case_mapping_rdoc.html">case_mapping</a>
    <li><a href="../character_selectors_rdoc.html">character_selectors</a>
    <li><a href="../command_injection_rdoc.html">command_injection</a>
    <li><a href="../contributing_md.html">contributing</a>
    <li><a href="../contributing/building_ruby_md.html">building_ruby</a>
    <li><a href="../contributing/documentation_guide_md.html">documentation_guide</a>
    <li><a href="../contributing/glossary_md.html">glossary</a>
    <li><a href="../contributing/making_changes_to_ruby_md.html">making_changes_to_ruby</a>
    <li><a href="../contributing/making_changes_to_stdlibs_md.html">making_changes_to_stdlibs</a>
    <li><a href="../contributing/reporting_issues_md.html">reporting_issues</a>
    <li><a href="../contributing/testing_ruby_md.html">testing_ruby</a>
    <li><a href="../dig_methods_rdoc.html">dig_methods</a>
    <li><a href="../distribution_md.html">distribution</a>
    <li><a href="../dtrace_probes_rdoc.html">dtrace_probes</a>
    <li><a href="../encodings_rdoc.html">encodings</a>
    <li><a href="../extension_ja_rdoc.html">extension.ja</a>
    <li><a href="../extension_rdoc.html">extension</a>
    <li><a href="../fiber_md.html">fiber</a>
    <li><a href="../format_specifications_rdoc.html">format_specifications</a>
    <li><a href="../globals_rdoc.html">globals</a>
    <li><a href="../implicit_conversion_rdoc.html">implicit_conversion</a>
    <li><a href="../keywords_rdoc.html">keywords</a>
    <li><a href="../maintainers_md.html">maintainers</a>
    <li><a href="../marshal_rdoc.html">marshal</a>
    <li><a href="../memory_view_md.html">memory_view</a>
    <li><a href="../optparse/argument_converters_rdoc.html">argument_converters</a>
    <li><a href="../optparse/creates_option_rdoc.html">creates_option</a>
    <li><a href="../optparse/option_params_rdoc.html">option_params</a>
    <li><a href="../optparse/tutorial_rdoc.html">tutorial</a>
    <li><a href="../packed_data_rdoc.html">packed_data</a>
    <li><a href="../ractor_md.html">ractor</a>
    <li><a href="../regexp_rdoc.html">regexp</a>
    <li><a href="../regexp/methods_rdoc.html">methods</a>
    <li><a href="../regexp/unicode_properties_rdoc.html">unicode_properties</a>
    <li><a href="../ruby_3_3_0_preview2/COPYING.html">COPYING</a>
    <li><a href="../ruby_3_3_0_preview2/COPYING_ja.html">COPYING.ja</a>
    <li><a href="../ruby_3_3_0_preview2/LEGAL.html">LEGAL</a>
    <li><a href="../ruby_3_3_0_preview2/NEWS_md.html">NEWS</a>
    <li><a href="../ruby_3_3_0_preview2/README_ja_md.html">README.ja</a>
    <li><a href="../ruby_3_3_0_preview2/README_md.html">README</a>
    <li><a href="../security_rdoc.html">security</a>
    <li><a href="../signals_rdoc.html">signals</a>
    <li><a href="../standard_library_rdoc.html">standard_library</a>
    <li><a href="../strftime_formatting_rdoc.html">strftime_formatting</a>
    <li><a href="../syntax_rdoc.html">syntax</a>
    <li><a href="../syntax/assignment_rdoc.html">assignment</a>
    <li><a href="../syntax/calling_methods_rdoc.html">calling_methods</a>
    <li><a href="../syntax/comments_rdoc.html">comments</a>
    <li><a href="../syntax/control_expressions_rdoc.html">control_expressions</a>
    <li><a href="../syntax/exceptions_rdoc.html">exceptions</a>
    <li><a href="../syntax/literals_rdoc.html">literals</a>
    <li><a href="../syntax/methods_rdoc.html">methods</a>
    <li><a href="../syntax/miscellaneous_rdoc.html">miscellaneous</a>
    <li><a href="../syntax/modules_and_classes_rdoc.html">modules_and_classes</a>
    <li><a href="../syntax/pattern_matching_rdoc.html">pattern_matching</a>
    <li><a href="../syntax/precedence_rdoc.html">precedence</a>
    <li><a href="../syntax/refinements_rdoc.html">refinements</a>
    <li><a href="../timezones_rdoc.html">timezones</a>
    <li><a href="../windows_md.html">windows</a>
    <li><a href="../yjit/yjit_md.html">yjit</a>
    <li><a href="../yjit/yjit_hacking_md.html">yjit_hacking</a>
  </ul>
</div>

   </div>
  </div>
</nav>


<!--  carbon ads here -->

<div id='extraz'>
  <div class='adzbox-index'  >
   
  </div>
 </div>         


<main role="main" aria-label="Page NEWS/NEWS-1.9.3">

<h1 id="label-NEWS+for+Ruby+1.9.3"><a href="../ruby_3_3_0_preview2/NEWS_md.html">NEWS</a> for Ruby 1.9.3<span><a href="#label-NEWS+for+Ruby+1.9.3">&para;</a> <a href="#top">&uarr;</a></span></h1>

<p>This document is a list of user visible feature changes made between releases except for bug fixes.</p>

<p>Note that each entry is kept so brief that no reason behind or reference information is supplied with.  For a full list of changes with all sufficient information, see the ChangeLog file.</p>

<h2 id="label-Changes+since+the+1.9.2+release">Changes since the 1.9.2 release<span><a href="#label-Changes+since+the+1.9.2+release">&para;</a> <a href="#top">&uarr;</a></span></h2>

<h3 id="label-License">License<span><a href="#label-License">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>Ruby’s License is changed from a dual license with GPLv2 to a dual license with 2-clause BSDL.</p>
</li></ul>

<h3 id="label-Known+platform+dependent+issues">Known platform dependent issues<span><a href="#label-Known+platform+dependent+issues">&para;</a> <a href="#top">&uarr;</a></span></h3>

<h4 id="label-OS+X+Lion">OS X Lion<span><a href="#label-OS+X+Lion">&para;</a> <a href="#top">&uarr;</a></span></h4>
<ul><li>
<p>You have to configure ruby with ‘–with-gcc=gcc-4.2’ if you’re using Xcode 4.1, or, if you’re using Xcode 4.2, you have to configure ruby with ‘–with-gcc=clang’.</p>
</li></ul>

<h3 id="label-C+API+updates">C API updates<span><a href="#label-C+API+updates">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>rb_scan_args() is enhanced with support for option hash argument extraction.</p>
</li><li>
<p>ruby_vm_at_exit() added.  This enables extension libs to hook a VM termination.</p>
</li><li>
<p>rb_reserved_fd_p() added.  If you want to close all file descriptors, check using this API.  [ruby-core:37759]</p>
</li></ul>

<h3 id="label-Library+updates+-28outstanding+ones+only-29">Library updates (outstanding ones only)<span><a href="#label-Library+updates+-28outstanding+ones+only-29">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>builtin classes</p>
<ul><li>
<p><a href="../ARGF.html"><code>ARGF</code></a></p>
<ul><li>
<p>new methods:</p>
<ul><li>
<p><a href="../ARGF.html#method-i-print"><code>ARGF.print</code></a></p>
</li><li>
<p><a href="../ARGF.html#method-i-printf"><code>ARGF.printf</code></a></p>
</li><li>
<p><a href="../ARGF.html#method-i-putc"><code>ARGF.putc</code></a></p>
</li><li>
<p><a href="../ARGF.html#method-i-puts"><code>ARGF.puts</code></a></p>
</li><li>
<p><a href="../ARGF.html#method-i-read_nonblock"><code>ARGF.read_nonblock</code></a></p>
</li><li>
<p><a href="../ARGF.html#method-i-to_write_io"><code>ARGF.to_write_io</code></a></p>
</li><li>
<p><a href="../ARGF.html#method-i-write"><code>ARGF.write</code></a></p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../Array.html"><code>Array</code></a></p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p><a href="../Array.html#method-i-pack"><code>Array#pack</code></a> supports endian modifiers</p>
</li></ul>
</li></ul>
</li><li>
<p>Bignum</p>
<ul><li>
<p>Multiplication algorithm for Bignums with a large number of digits over 150 BDIGITs is changed in order to reduce its calculation time. Now such large Bignums are multiplied by using Toom-3 algorithm.</p>
</li></ul>
</li><li>
<p><a href="../Encoding.html"><code>Encoding</code></a></p>
<ul><li>
<p>new encodings:</p>
<ul><li>
<p>CP950</p>
</li><li>
<p>CP951</p>
</li><li>
<p>UTF-16</p>
</li><li>
<p>UTF-32</p>
</li></ul>
</li><li>
<p>change alias:</p>
<ul><li>
<p>SJIS is Windows-31J</p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../File.html"><code>File</code></a></p>
<ul><li>
<p>new constant:</p>
<ul><li>
<p>File::NULL name of NULL device.</p>
</li><li>
<p>File::DIRECT name of O_DIRECT.</p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../IO.html"><code>IO</code></a></p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p><a href="../IO.html#method-i-putc"><code>IO#putc</code></a> supports multibyte characters</p>
</li></ul>
</li><li>
<p>new methods:</p>
<ul><li>
<p><a href="../IO.html#method-i-advise"><code>IO#advise</code></a></p>
</li><li>
<p><a href="../IO.html#method-c-write"><code>IO.write</code></a>(name, string, [offset] ) Write ‘string` to file `name`. Opposite with <a href="../IO.html#method-c-read"><code>File.read</code></a>.</p>
</li><li>
<p><a href="../IO.html#method-c-binwrite"><code>IO.binwrite</code></a>(name, string, [offset] ) binary version of <a href="../IO.html#method-c-write"><code>IO.write</code></a>.</p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../Kernel.html"><code>Kernel</code></a></p>
<ul><li>
<p>move #__id__ to <a href="../BasicObject.html"><code>BasicObject</code></a>.</p>
</li><li>
<p>extended method:</p>
<ul><li>
<p><a href="../Kernel.html#method-i-rand"><code>Kernel#rand</code></a> supports range argument</p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../Module.html"><code>Module</code></a></p>
<ul><li>
<p>new methods:</p>
<ul><li>
<p><a href="../Module.html#method-i-private_constant"><code>Module#private_constant</code></a></p>
</li><li>
<p><a href="../Module.html#method-i-public_constant"><code>Module#public_constant</code></a></p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../Random.html"><code>Random</code></a></p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p><a href="../Random.html#method-c-rand"><code>Random.rand</code></a> supports range argument</p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../String.html"><code>String</code></a></p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p><a href="../String.html#method-i-unpack"><code>String#unpack</code></a> supports endian modifiers</p>
</li></ul>
</li><li>
<p>new method:</p>
<ul><li>
<p><a href="../String.html#method-i-prepend"><code>String#prepend</code></a></p>
</li><li>
<p><a href="../String.html#method-i-byteslice"><code>String#byteslice</code></a></p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../Time.html"><code>Time</code></a></p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p><a href="../Time.html#method-i-strftime"><code>Time#strftime</code></a> supports %:z and %::z.</p>
</li></ul>
</li></ul>
</li><li>
<p><a href="../Process.html"><code>Process</code></a></p>
<ul><li>
<p>Process#maxgroups and Process#maxgroups= now raise <a href="../NotImplementedError.html"><code>NotImplementedError</code></a> if the platform don’t support supplementary groups concept.</p>
</li></ul>
</li></ul>
</li><li>
<p>bigdecimal</p>
<ul><li>
<p>BigDecimal#power and BigDecimal#** support non-integral exponent.</p>
</li><li>
<p>Kernel.BigDecimal and BigDecimal.new now accept instances of <a href="../Integer.html"><code>Integer</code></a>, <a href="../Rational.html"><code>Rational</code></a>, <a href="../Float.html"><code>Float</code></a>, and BigDecimal.  If you pass a <a href="../Rational.html"><code>Rational</code></a> or a <a href="../Float.html"><code>Float</code></a> to them, you must specify the precision to produce the digits of a BigDecimal.</p>
</li><li>
<p>The behavior of BigDecimal#coerce with a <a href="../Rational.html"><code>Rational</code></a> is changed.  It uses the precision of the receiver BigDecimal to produce the digits of a BigDecimal from the given <a href="../Rational.html"><code>Rational</code></a>.</p>
</li></ul>
</li><li>
<p>bigdecimal/util</p>
<ul><li>
<p>BigDecimal#to_d and Integer#to_d are added.</p>
</li><li>
<p>Float#to_d accepts a precision.</p>
</li><li>
<p>Rational#to_d raises <a href="../ArgumentError.html"><code>ArgumentError</code></a> when passing zero or negative precision.</p>
</li><li>
<p>Rational#to_d</p>
<ul><li>
<p>Zero and an implicit precision is deprecated. This feature is removed at the next release of bigdecimal.</p>
</li><li>
<p>A negative precision isn’t supported. Be careful it is an incompatible change.</p>
</li></ul>
</li></ul>
</li><li>
<p>date</p>
<ul><li>
<p>Accepts flonum explicitly with limitations.</p>
<ul><li>
<p>If the given offset is flonum, DateTime assumes its precision is at most second.</p>

<p>DateTime.new(2001,2,3,0,0,0,3.0/24) == DateTime.new(2001,2,3,0,0,0,‘+03:00’)</p>

<pre class="ruby"><span class="ruby-comment">#=&gt; true</span>
</pre>
</li><li>
<p>If the given operand for -/+ is flonum, DateTime assumes its precision is at most nanosecond.</p>

<p>DateTime.new(2001,2,3) + 0.5 == DateTime.new(2001,2,3,12)</p>

<pre class="ruby"><span class="ruby-comment">#=&gt; true</span>
</pre>
</li><li>
<p>Precision of offset is always at most second.</p>

<p>Rational(‘0.5’) == Rational(‘0.500001’)  #=&gt; false DateTime.new(2001,2,3,0,0,0,Rational(‘0.5’)) == DateTime.new(2001,2,3,0,0,0,Rational(‘0.500001’))</p>

<pre class="ruby"><span class="ruby-comment">#=&gt; true</span>
</pre>
</li></ul>
</li><li>
<p>Ignores long offset and far reform day (with warning).</p>
<ul><li>
<p>Now accepts only:</p>

<p>-1&lt;=offset&lt;=1 (-24:00..+24:00) 2298874&lt;=start&lt;=2426355 or -/+oo</p>

<pre>(proleptic Gregorian/Julian mean -/+oo)</pre>
</li></ul>
</li><li>
<p>A method strftime cannot produce huge output (same as Time’s one).</p>
<ul><li>
<p>Even though Date/DateTime can handle far dates, the following causes an exception.</p>

<p>DateTime.new(1<<10000).strftime(‘%Y’)  # Errno::ERANGE</p>
</li></ul>
</li><li>
<p>Changed the format of inspect.</p>
</li><li>
<p>Changed the format of marshal (but, can load old dumps).</p>
</li></ul>
</li><li>
<p>io/console</p>
<ul><li>
<p>new methods:</p>
<ul><li>
<p>IO#noecho {|io| }</p>
</li><li>
<p>IO#echo=</p>
</li><li>
<p>IO#echo?</p>
</li><li>
<p>IO#raw {|io| }</p>
</li><li>
<p>IO#raw!</p>
</li><li>
<p>IO#getch</p>
</li><li>
<p>IO#winsize</p>
</li><li>
<p>IO.console</p>
</li></ul>
</li></ul>
</li><li>
<p>json</p>
<ul><li>
<p>updated to v1.5.4.</p>
</li></ul>
</li><li>
<p>matrix</p>
<ul><li>
<p>new classes:</p>
<ul><li>
<p>Matrix::EigenvalueDecomposition</p>
</li><li>
<p>Matrix::LUPDecomposition</p>
</li></ul>
</li><li>
<p>new methods:</p>
<ul><li>
<p>Matrix#diagonal?</p>
</li><li>
<p>Matrix#eigen</p>
</li><li>
<p>Matrix#eigensystem</p>
</li><li>
<p>Matrix#hermitian?</p>
</li><li>
<p>Matrix#lower_triangular?</p>
</li><li>
<p>Matrix#lup</p>
</li><li>
<p>Matrix#lup_decomposition</p>
</li><li>
<p>Matrix#normal?</p>
</li><li>
<p>Matrix#orthogonal?</p>
</li><li>
<p>Matrix#permutation?</p>
</li><li>
<p>Matrix#round</p>
</li><li>
<p>Matrix#symmetric?</p>
</li><li>
<p>Matrix#unitary?</p>
</li><li>
<p>Matrix#upper_triangular?</p>
</li><li>
<p>Matrix#zero?</p>
</li><li>
<p>Vector#magnitude, norm</p>
</li><li>
<p>Vector#normalize</p>
</li></ul>
</li><li>
<p>extended methods:</p>
<ul><li>
<p>Matrix#each and each_with_index can iterate on a subset of the elements</p>
</li><li>
<p>Matrix#find_index returns [row, column] and can iterate on a subset of the elements</p>
</li><li>
<p>Matrix#** implements <a href="../Numeric.html"><code>Numeric</code></a> exponents (using the eigensystem)</p>
</li><li>
<p>Matrix.zero can build rectangular matrices</p>
</li></ul>
</li></ul>
</li><li>
<p>minitest</p>
<ul><li>
<p>Minitest has been updated to version 2.2.2.</p>
</li><li>
<p>For full details, see <a href="https://github.com/seattlerb/minitest/blob/master/History.txt">github.com/seattlerb/minitest/blob/master/History.txt</a></p>
</li></ul>
</li><li>
<p>net/http</p>
<ul><li>
<p>SNI (Server Name Indication) supported for HTTPS.</p>
</li><li>
<p>Allow to configure to wait server returning ‘100 continue’ response before sending HTTP request body. Set Net::HTTP#continue_timeout AND pass ‘expect’ =&gt; ‘100-continue’ to a extra HTTP header.</p>

<p>For example, the following code sends HTTP header and waits for getting ‘100 continue’ response before sending HTTP request body. When 0.5 [sec] timeout occurs or the server send ‘100 continue’, the client sends HTTP request body.</p>

<pre class="ruby"><span class="ruby-identifier">http</span>.<span class="ruby-identifier">continue_timeout</span> = <span class="ruby-value">0.5</span>
<span class="ruby-identifier">http</span>.<span class="ruby-identifier">request_post</span>(<span class="ruby-string">&#39;/continue&#39;</span>, <span class="ruby-string">&#39;body=BODY&#39;</span>, <span class="ruby-string">&#39;expect&#39;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-string">&#39;100-continue&#39;</span>)
</pre>
</li><li>
<p>new method:</p>
<ul><li>
<p>Net::HTTPRequest#set_form): Added to support both application/x-www-form-urlencoded and multipart/form-data.</p>
</li></ul>
</li></ul>
</li><li>
<p>objspace</p>
<ul><li>
<p>new method:</p>
<ul><li>
<p>ObjectSpace::memsize_of_all</p>
</li></ul>
</li></ul>
</li><li>
<p>openssl</p>
<ul><li>
<p>PKey::RSA and PKey::DSA now use the generic X.509 encoding scheme (e.g. used in a X.509 certificate’s Subject Public Key Info) when exporting public keys to DER or PEM. Backward compatibility is ensured by (already existing) fallbacks during creation.</p>
</li><li>
<p>OpenSSL::ASN1::Constructive#new and OpenSSL::ASN1::Primitive#new (and the constructors of their sub-classes) will no longer force tagging to be set to :EXPLICIT when tag and/or tag_class are passed as parameters. tagging must be set explicitly.</p>
</li><li>
<p>Support for infinite length encodings via infinite_length attribute.</p>
</li><li>
<p>OpenSSL::PKey.read( file | string [, pwd] ) allows to read arbitrary public/private keys in DER-/PEM-encoded form with an optional password for encrypted PEM encodings.</p>
</li><li>
<p>Add new method OpenSSL::X509::Name#hash_old as a wrapper of X509_NAME_hash_old() defined from OpenSSL 1.0.0. It returns OpenSSL 0.9.8 compatible hash value.</p>
</li></ul>
</li><li>
<p>optparse</p>
<ul><li>
<p>support for bash/zsh completion.</p>
</li></ul>
</li><li>
<p>Rake</p>
<ul><li>
<p>Rake has been upgraded from 0.8.7 to 0.9.2.2.  For full release notes see <a href="https://github.com/jimweirich/rake/blob/master/CHANGES">github.com/jimweirich/rake/blob/master/CHANGES</a></p>
</li></ul>
</li><li>
<p><a href="../RDoc.html"><code>RDoc</code></a></p>
<ul><li>
<p><a href="../RDoc.html"><code>RDoc</code></a> has been upgraded to version 3.9.4.  For full release notes see <a href="http://docs.seattlerb.org/rdoc/History_txt.html">docs.seattlerb.org/rdoc/History_txt.html</a></p>
</li></ul>
</li><li>
<p>rexml</p>
<ul><li>
<p>Support Ruby native encoding mechanism and iconv dependency is dropped.</p>
</li></ul>
</li><li>
<p>RubyGems</p>
<ul><li>
<p>RubyGems has been upgraded to version 1.8.10. For full release notes see <a href="http://rubygems.rubyforge.org/rubygems-update/History_txt.html">rubygems.rubyforge.org/rubygems-update/History_txt.html</a></p>
</li></ul>
</li><li>
<p>stringio</p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p>StringIO#set_encoding can get 2nd argument and optional hash.</p>
</li></ul>
</li></ul>
</li><li>
<p>test/unit</p>
<ul><li>
<p>New arguments:</p>
<ul><li>
<p>-j N, –jobs=N: Allow run N testcases at once.</p>
</li><li>
<p>–jobs-status: Show status of jobs when parallel running.</p>
</li><li>
<p>–no-retry: Don’t retry testcases which failed when parallel running.</p>
</li><li>
<p>–ruby=RUBY: path to ruby for job(worker) process. optional.</p>
</li><li>
<p>–hide-skip: Hide skip messages. You’ll see the number of skips at end of test result.</p>
</li></ul>
</li></ul>
</li><li>
<p>uri</p>
<ul><li>
<p>new methods:</p>
<ul><li>
<p>URI::Generic#hostname</p>
</li><li>
<p>URI::Generic#hostname=</p>
</li></ul>
</li></ul>
</li><li>
<p>webrick</p>
<ul><li>
<p>new method:</p>
<ul><li>
<p>WEBrick::HTTPRequest#continue for generating ‘100 continue’ response.</p>
</li></ul>
</li><li>
<p>new logging directive:</p>
<ul><li>
<p>%{remote}p for remote (client) port number.</p>
</li></ul>
</li></ul>
</li><li>
<p>yaml</p>
<ul><li>
<p>The default YAML engine is now Psych. You may downgrade to syck by setting YAML::ENGINE.yamler = ‘syck’.</p>
</li></ul>
</li><li>
<p>zlib</p>
<ul><li>
<p>new methods:</p>
<ul><li>
<p>Zlib.deflate</p>
</li><li>
<p>Zlib.inflate</p>
</li></ul>
</li></ul>
</li><li>
<p>FileUtils</p>
<ul><li>
<p>extended method:</p>
<ul><li>
<p>FileUtils#chmod supports symbolic mode argument.</p>
</li></ul>
</li></ul>
</li></ul>

<h3 id="label-Language+changes">Language changes<span><a href="#label-Language+changes">&para;</a> <a href="#top">&uarr;</a></span></h3>
<ul><li>
<p>Regexps now support Unicode 6.0. (new characters and scripts)</p>
</li><li><dl class="rdoc-list label-list"><dt>experimental
<dd>
<p>Regexps now support Age property.</p>
</dd></dl>

<p>Unlike Perl, current implementation takes interpretation of the interpretation of UTS #18. <a href="http://www.unicode.org/reports/tr18">www.unicode.org/reports/tr18</a>/</p>
</li><li>
<p>Turning on/off indentation warnings with directives. (“# -*- warn-indent: true -*-” / “# -*- warn-indent: false -*-”)</p>
</li></ul>

<h3 id="label-Compatibility+issues+-28excluding+feature+bug+fixes-29">Compatibility issues (excluding feature bug fixes)<span><a href="#label-Compatibility+issues+-28excluding+feature+bug+fixes-29">&para;</a> <a href="#top">&uarr;</a></span></h3>

<pre>* Rational#to_d

  See above.</pre>

</main>

</div>  <!--  class='wrapper hdiv' -->


<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a></p>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.</p>
<p>Based on <a href="https://github.com/ged/darkfish/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.</p>

  
    <p><p><a href="https://ruby-doc.org">Ruby-doc.org</a> is provided by <a href="https://jamesbritt.com">James Britt</a> and <a href="https://neurogami.com">Neurogami</a>.</p><p><a href="https://jamesbritt.bandcamp.com/">Maximum R+D</a>.  </p>
</p>
  
  </footer>

<script type="text/javascript">


  let ads  = $("#carbonads-container").children().detach();


  function swapMode() {
    var cookieName = 'darkmode';
    var cssDarkmode = Cookies.get(cookieName);
    console.log("***** swapMode! " + cssDarkmode + " *****");


    if (cssDarkmode == "true") {
      console.log("We have dark mode, set the css to light ...");
      $('#rdoccss').attr("href", defaultModeCssHref);
      $('#cssSelect').text("Dark mode");
      cssDarkmode = "false";
      console.log("swapMode! Now set cookie to " + cssDarkmode);
      Cookies.set(cookieName, cssDarkmode);

    } else {
      console.log("We not have dark mode, set the css to dark ...");
      $('#rdoccss').attr("href", darkModeCsseHref);
      $('#cssSelect').text("Light mode");
      cssDarkmode = "true";
      console.log("swapMode! Now set cookie to " + cssDarkmode);
      Cookies.set(cookieName, cssDarkmode);

    }

    console.log("  --------------- ");
  }


const vueCssApp = new Vue({
el: '#menubar',
data: {
isDark: false
},
methods: {
toggleClass: function(event){
this.isDark = !this.isDark;
}
}
})

const vueApp = new Vue({
el: '#vapp',
data: { 
isOpen: true
},

mounted() {
this.handleResize();
this.manage_mob_classes();
window.addEventListener('resize', this.handleResize)
//this.isOpen !=  (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
},
destroyed() {
window.removeEventListener('resize', this.handleResize)
},
created() {
//manage_mob_classes();
},

methods : {
isMobile() {
  return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
},

  handleResize() {
    if (!this.isMobile()) {
      this.isOpen = window.innerWidth > 800;
    }
  },

  manage_mob_classes() {
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
      $("nav").addClass("mob_nav");
      $("main").addClass("mob_main");
      $("#extraz").addClass("mob_extraz");
      $("#carbonads-container").addClass("mob_carbonads-container");
      this.isOpen  = false;
    } else {
      $("nav").removeClass("mob_nav") 
        $("main").removeClass("mob_main");
      $("#extraz").removeClass("mob_extraz");
      $("#carbonads-container").removeClass("mob_carbonads-container");
      this.isOpen  = true;
    }
  },

  toggleNav() {
    this.isOpen =! this.isOpen ;
    // alert("Toggle nav!");
    console.log("toggleNav() click: " + this.isOpen );
  }
}
})

$("#carbonads-container").append(ads);


$(function() {

    var darkmode = Cookies.get("darkmode");
    console.log("Document ready: " + darkmode);

    if ( darkmode  == "true" ) {
      $('#cssSelect').text("Light mode");
    } else {
      $('#cssSelect').text("Dark mode");
     }

    $('body').css('display','block');
    });

</script>

    
  </body> 
</html>

